package com.kgc.sportscircle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：实体类
* @author 杨海文
* @date 2019/07/22
*/
public class Sportsuser implements Serializable {

   /**用户编号*/
    private Integer id;
   /**用户账号*/
    private String userName;
   /**密码*/
    private String password;
   /**用户昵称*/
    private String name;
   /**性别*/
    private String sex;
   /**生日*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
   /**手机号*/
    private String mobile;
   /**email*/
    private String email;
   /**所在省份id*/
    private Integer provinceId;
   /**所在城市id*/
    private Integer cityId;
   /**爱好的运动ID，关联spors_sort*/
    private Integer hobbyId;
   /**经验值*/
    private Long empiricValue;
   /**注册日期*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date registerDay;
   /**简介*/
    private String desc;
   /**备用1int*/
    private Integer beiyong1;
   /**备用2int*/
    private Integer beiyong2;
   /**备用3varchar*/
    private String beiyong3;
   /**备用4varchar*/
    private String beiyong4;

    public Sportsuser(){}
    
    public Sportsuser(Integer id,String userName,String password,String name,String sex,Date birthday,String mobile,String email,Integer provinceId,Integer cityId,Integer hobbyId,Long empiricValue,Date registerDay,String desc,Integer beiyong1,Integer beiyong2,String beiyong3,String beiyong4){
        this.id = id;
        this.userName = userName;
        this.password = password;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.mobile = mobile;
        this.email = email;
        this.provinceId = provinceId;
        this.cityId = cityId;
        this.hobbyId = hobbyId;
        this.empiricValue = empiricValue;
        this.registerDay = registerDay;
        this.desc = desc;
        this.beiyong1 = beiyong1;
        this.beiyong2 = beiyong2;
        this.beiyong3 = beiyong3;
        this.beiyong4 = beiyong4;
    }

   /**获取用户编号属性的值*/
    public Integer getId() {
        return this.id;
    }
   /**设置用户编号属性的值*/
    public void setId(Integer id) {
        this.id = id;
    }
   /**获取用户账号属性的值*/
    public String getUserName() {
        return this.userName;
    }
   /**设置用户账号属性的值*/
    public void setUserName(String userName) {
        this.userName = userName;
    }
   /**获取密码属性的值*/
    public String getPassword() {
        return this.password;
    }
   /**设置密码属性的值*/
    public void setPassword(String password) {
        this.password = password;
    }
   /**获取用户昵称属性的值*/
    public String getName() {
        return this.name;
    }
   /**设置用户昵称属性的值*/
    public void setName(String name) {
        this.name = name;
    }
   /**获取性别属性的值*/
    public String getSex() {
        return this.sex;
    }
   /**设置性别属性的值*/
    public void setSex(String sex) {
        this.sex = sex;
    }
   /**获取生日属性的值*/
    public Date getBirthday() {
        return this.birthday;
    }
   /**设置生日属性的值*/
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
   /**获取手机号属性的值*/
    public String getMobile() {
        return this.mobile;
    }
   /**设置手机号属性的值*/
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
   /**获取email属性的值*/
    public String getEmail() {
        return this.email;
    }
   /**设置email属性的值*/
    public void setEmail(String email) {
        this.email = email;
    }
   /**获取所在省份id属性的值*/
    public Integer getProvinceId() {
        return this.provinceId;
    }
   /**设置所在省份id属性的值*/
    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }
   /**获取所在城市id属性的值*/
    public Integer getCityId() {
        return this.cityId;
    }
   /**设置所在城市id属性的值*/
    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }
   /**获取爱好的运动ID，关联spors_sort属性的值*/
    public Integer getHobbyId() {
        return this.hobbyId;
    }
   /**设置爱好的运动ID，关联spors_sort属性的值*/
    public void setHobbyId(Integer hobbyId) {
        this.hobbyId = hobbyId;
    }
   /**获取经验值属性的值*/
    public Long getEmpiricValue() {
        return this.empiricValue;
    }
   /**设置经验值属性的值*/
    public void setEmpiricValue(Long empiricValue) {
        this.empiricValue = empiricValue;
    }
   /**获取注册日期属性的值*/
    public Date getRegisterDay() {
        return this.registerDay;
    }
   /**设置注册日期属性的值*/
    public void setRegisterDay(Date registerDay) {
        this.registerDay = registerDay;
    }
   /**获取简介属性的值*/
    public String getDesc() {
        return this.desc;
    }
   /**设置简介属性的值*/
    public void setDesc(String desc) {
        this.desc = desc;
    }
   /**获取备用1int属性的值*/
    public Integer getBeiyong1() {
        return this.beiyong1;
    }
   /**设置备用1int属性的值*/
    public void setBeiyong1(Integer beiyong1) {
        this.beiyong1 = beiyong1;
    }
   /**获取备用2int属性的值*/
    public Integer getBeiyong2() {
        return this.beiyong2;
    }
   /**设置备用2int属性的值*/
    public void setBeiyong2(Integer beiyong2) {
        this.beiyong2 = beiyong2;
    }
   /**获取备用3varchar属性的值*/
    public String getBeiyong3() {
        return this.beiyong3;
    }
   /**设置备用3varchar属性的值*/
    public void setBeiyong3(String beiyong3) {
        this.beiyong3 = beiyong3;
    }
   /**获取备用4varchar属性的值*/
    public String getBeiyong4() {
        return this.beiyong4;
    }
   /**设置备用4varchar属性的值*/
    public void setBeiyong4(String beiyong4) {
        this.beiyong4 = beiyong4;
    }
}
